package com.jic.data.model.entity;

import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = " member_consume_sts_base ")
public class MemberConsumeStsBase extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "渠道id")
    private Long channelId;

    @ApiModelProperty(notes = "渠道名称")
    private String channelName;

    @ApiModelProperty(notes = "平台id")
    private Long platformId;

    @ApiModelProperty(notes = "平台名称")
    private String platformName;

    @ApiModelProperty(notes = "店铺id")
    private Long storeId;

    @ApiModelProperty(notes = "店铺名称")
    private String storeName;

    @ApiModelProperty(notes = "消费会员人数")
    private Integer consumeMemberNumber;

    @ApiModelProperty(notes = "未消费会员人数")
    private Integer unconsumeMemberNumber;

    @ApiModelProperty(notes = "有效会员，1年内有消费")
    private Integer validMemberNumber;

    @ApiModelProperty(notes = "无效会员，1年内没有消费")
    private Integer invalidMemberNumber;

    @ApiModelProperty(notes = "应收销售总金额")
    private Double consumeReceivableAmount;

    @ApiModelProperty(notes = "实收销售总金额")
    private Double consumeReceivedAmount;

    @ApiModelProperty(notes = "订单商品数量")
    private Integer orderGoodsQuantity;

    @ApiModelProperty(notes = "订单数量")
    private Integer orderQuantity;

    @ApiModelProperty(notes = "消费日期")
    private Date consumeDate;

    @ApiModelProperty(notes = "统计类型,1:店铺级；2：平台级；3：渠道级；4：全渠道")
    private Integer stsType;

    @ApiModelProperty(notes = "统计日期")
    private Date stsDate;

    @ApiModelProperty(notes = "更新人")
    private Long updator;

}
